package cn.edu.scau.dormitory_management_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 
 * 
 * @author wanglingfu
 * @email 1006340605@qq.com
 * @date 2021-08-02 14:35:10
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_dorm")
public class DormEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 宿舍表id
	 */
	@TableId(type = IdType.AUTO)
	private Integer dormId;
	/**
	 * 现有人数
	 */
	private Integer stuNum;
	/**
	 * 性别
	 */
	private Integer sex;
	/**
	 * 所属楼栋id
	 */
	private Integer buildId;
	/**
	 * 宿舍名：203
	 */
	private String dormName;
	/**
	 * 是否为空宿舍
	 */
	private Integer status;
	/**
	 *学院
	 */
	private String academic;
	/**
	 * 所属专业
	 */
	private String department;
	/**
	 *班级
	 */
	private String clazz;

}
